package router

import (
	"github.com/gin-gonic/gin"
	"tour-mgmt/handler"
)

func Router() *gin.Engine {
	r := gin.Default()
	r.POST("/TourAdd", handler.TourAdd)
	r.GET("/TourDel", handler.TourDel)
	r.GET("/TourList", handler.TourList)
	return r
}
